import request from '@/utils/request'
// 获取ppt列表
export function listinfo(data) {
    return request({
        url: '/virtual/v1/userPpt/list',
        method: 'post',
        data
    })
}
//删除PPT
export function deletePpt(data) {
    return request({
        url: '/virtual/v1/userPpt/delete',
        method: 'post',
        data
    })
}
// 虚拟人新增测试
export function upload(data) {
    return request({
        headers: {
            "Content-Type": "multipart/form-data"
        },
        // processData: false, // 告诉axios不要去处理发送的数据(重要参数)
        //   contentType: false, // 告诉axios不要去设置Content-Type请求头
        url: '/virtual/v1/backVirtual/upload',
        method: 'post',
        data,
    })
}